package com.google.shop.product.vo.order.savelineskuvo;

import com.fasterxml.jackson.annotation.JsonProperty;
//import org.apache.commons.configuration.tree.DefaultExpressionEngine;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/vo/order/savelineskuvo/LineSkuVO.class */
public class LineSkuVO {
    @JsonProperty("ordersDetail")
    LineSkuDetailVO detailVO;
    Integer addressId;
    String token;

    @JsonProperty("ordersDetail")
    public void setDetailVO(LineSkuDetailVO detailVO) {
        this.detailVO = detailVO;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof LineSkuVO)) {
            return false;
        }
        LineSkuVO other = (LineSkuVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$addressId = getAddressId();
        Object other$addressId = other.getAddressId();
        if (this$addressId == null) {
            if (other$addressId != null) {
                return false;
            }
        } else if (!this$addressId.equals(other$addressId)) {
            return false;
        }
        Object this$detailVO = getDetailVO();
        Object other$detailVO = other.getDetailVO();
        if (this$detailVO == null) {
            if (other$detailVO != null) {
                return false;
            }
        } else if (!this$detailVO.equals(other$detailVO)) {
            return false;
        }
        Object this$token = getToken();
        Object other$token = other.getToken();
        return this$token == null ? other$token == null : this$token.equals(other$token);
    }

    protected boolean canEqual(Object other) {
        return other instanceof LineSkuVO;
    }

    public int hashCode() {
        Object $addressId = getAddressId();
        int result = (1 * 59) + ($addressId == null ? 43 : $addressId.hashCode());
        Object $detailVO = getDetailVO();
        int result2 = (result * 59) + ($detailVO == null ? 43 : $detailVO.hashCode());
        Object $token = getToken();
        return (result2 * 59) + ($token == null ? 43 : $token.hashCode());
    }

//    public String toString() {
//        return "LineSkuVO(detailVO=" + getDetailVO() + ", addressId=" + getAddressId() + ", token=" + getToken() + DefaultExpressionEngine.DEFAULT_INDEX_END;
//    }

    public LineSkuVO(LineSkuDetailVO detailVO, Integer addressId, String token) {
        this.detailVO = detailVO;
        this.addressId = addressId;
        this.token = token;
    }

    public LineSkuVO() {
    }

    public LineSkuDetailVO getDetailVO() {
        return this.detailVO;
    }

    public Integer getAddressId() {
        return this.addressId;
    }

    public String getToken() {
        return this.token;
    }
}
